package com.pro.service;

import com.pro.pojo.JsUserFeedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * auther 杨沛琪
 * createDate 2022/1/7
 */
public interface UserFeedbackService {
    //获取用户反馈列表
    public List<JsUserFeedback> getTable();
    //筛选查询反馈搜索
    public List<JsUserFeedback> queryFeedback(@Param("userId") Integer userId, @Param("feedbackType") Integer feedbackType, @Param("feedbackClassification") Integer feedbackClassification, @Param("createDate") String createDate);
    //待审核
    public List<JsUserFeedback> queryToBeReviewed(@Param("feedbackStatus")Integer feedbackStatus);
    //查询待审核个数
    public Integer getToBeReviewedNum();
    //查询已受理
    public List<JsUserFeedback> queryAccepted(@Param("feedbackStatus")Integer feedbackStatus);
    //查询已受理个数
    public Integer getAcceptedNum();
    //修改已受理
    public boolean updateAccepted(@Param("feedbackId")Integer feedbackId);
    //删除
    public boolean del(@Param("feedbackId")Integer feedbackId);
}
